<include file="header" />
<!--头部 end -->
<!--左栏 starts -->
<div class="container-fluid">
		<div class="row-fluid">
			<include file="left" />

			<div id="content" class="span10">
			<!-- content starts -->
<!--左栏 end -->
<ul class="breadcrumb">
      <li>
        <a href="__APP__/TIFAWEB_DSWJCMS.html">首页</a> <span class="divider">/</span>
      </li>
      <li class="active">积分记录</li>
    <div  class="pull-right"> <a href="#export" data-toggle="modal">导出</a></div>
</ul>
<table class="table table-striped table-bordered table-condensed">
            <thead>
              <tr>
                <th>ID</th>
                <th>操作者</th>
                <th>交易对方</th>
                <th>操作类型</th>
                <th>操作说明</th>
                <th>总数</th>
                <th>可用</th>
                <th>冻结</th>
                <th>操作金额</th>
                <th>操作时间</th>
                <th>操作IP</th>
              </tr>
            </thead>
            <tbody>
                <volist name="list" id="vo">
                <tr>
                <td>{$vo.id}</td>
                <td>{$vo.username}</td>
                <td>{$vo.counterparty}</td>
                <td>
                	<switch name="vo.type">
                        <case value="1">会员积分</case>
                        <case value="2">VIP积分</case>
                        <case value="3">推广积分</case>
                        <default />资金
                    </switch>
                </td>
                <td>{$vo.actionname}</td>
                <td>{$vo.total_money}</td>
                <td>{$vo.available_funds}</td>
                <td>{$vo.freeze_funds}</td>
                <td>{$vo.operation}</td>
                <td>{$vo.time|date="Y-m-d H:i:s",###}</td>
                <td>{$vo.ip}</td>
                </tr>
                </volist>
            </tbody>
          </table>
          <div class="pagination pagination-centered">
          <ul>{$page}</ul>
          </div>
<div>
</div>
<!--底部 -->
<div id="export" class="modal hide fade in" >
    <div class="modal-header">
      <a class="close" data-dismiss="modal" >&times;</a>
      <h3>导出</h3>
    </div>
    <div class="modal-body">
    <div class="alert alert-info">
        <p>每次导出条数最多5000条，如果数据总合以超5000条请输入上一份导出文件的最大ID值</p>
    </div>
    <form method="post" action="__APP__/TIFAWEB_DSWJCMS/Index/integralExport">
       <table class="table">
        <tbody>
          <tr>
          <td>开始ID：</td>
          <td>
             	<input name="fid" type="text"  value=''/>
          </td>
          
          </tr>
          
        </tbody>
       	</table>
        <div class="pull-right">
          <button class="btn btn-primary" type="submit">
              确定
          </button>
      	</div>
    </form>
    </div>
</div>
<include file="footer" />
